<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>视频播放</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        a, a:hover, a:active, a:visited, a:link, a:focus {
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        }

        .content {
            width: 100vw;
            height: 100vh;
            position: relative;
            background-color: #666;
        }

        .img1 {
            width: auto;
            height: 100%;
        }

        .a1 {
            width: 2rem;
            height: 2rem;
            position: absolute;
            left: 1rem;
            top: 1rem;
            z-index: 4;
            background: url() center no-repeat;
            background-size: 100%;
        }

        .a2 {
            width: 3rem;
            height: 3rem;
            position: absolute;
            left: 50%;
            top: 50%;
            background: url() center no-repeat;
            background-size: 100%;
            z-index: 9;
            margin: -1.5rem 0 0 -1.5rem;
        }
    </style>
</head>
<body>
<div class="content">
    <!--<img src="img/fgx.jpg" class="img1">-->
    <a href="javascript:close()" class="a1"></a>
    <a href="javascript:go_pay()" class="a2"></a>
    <video width="100%" height="100%" poster="/public/static/img/1.png" loop>
        <source type="video/mp4" src="{$fileUrl}">
    </video>
</div>
<script src="__JS__/jquery.min.js"></script>
<script src="__JS__/common.js?v={$Think.config.commonJs}"></script>
<script>
    var player = document.querySelector("video");
    function go_pay() {
        $('.a2').hide();

        player.play();
    }

    function close() {
        window.android._goBack("false");
    }
</script>
</body>
</html>